package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppUserDongtaiDao;
import com.vf.admin.client.dao.AppUserLaHeiDao;
import com.vf.admin.client.service.AppUserDongtaiService;
import com.vf.admin.client.service.AppUserLaHeiService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppUserDongtai;
import com.vf.admin.miaodong.entity.AppUserLaHei;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppUserLaHeiServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月29日 10:06:00
 */
@Service
public class AppUserDongtaiServiceImpl implements AppUserDongtaiService {

    @Autowired
    AppUserDongtaiDao appUserDongtaiDao;

    @Override
    public void saveOrUpdate(AppUserDongtai pojo) {
        appUserDongtaiDao.saveOrUpdate(pojo);
    }

    @Override
    public List<AppUserDongtai> findList(Integer userid) {
        return appUserDongtaiDao.findList(userid);
    }

    @Override
    public AppUserDongtai getByUseridAndGbUserid(Integer userid, Integer lhuserid) {
        return appUserDongtaiDao.getByUseridAndGbUserid(userid, lhuserid);
    }

    @Override
    public void delete(Integer id) {
        appUserDongtaiDao.delete(id);
    }
}